package sevensoft.结构型模式.适配器模式.对象适配器;

import sevensoft.结构型模式.适配器模式.类适配器.Dp;

public class Demo {
    public static void main(String[] args) {
        TV tv = new TV();
//        IHdmi itn = new Hdmi();
        HdmiAdapterDp hdmiAdapterDp = new HdmiAdapterDp(new Dp());
        tv.setHdmi(hdmiAdapterDp);
        tv.output();
    }
}
